ActionController::Routing::Routes.draw do |map|
  map.resources :profiles
  
  #map.resources :articles, :requirements => {:id => /(([a-z]+)\-([a-z]+))+/}
  #map.current_article 'articles/:permalink', :controller => 'articles', :action => 'show'

  map.root :controller => "pages"
  map.with_options :controller => "pages" do |static|
    static.home '', :action => "index"
    static.about 'about', :action => "about"
    static.services 'services', :action => "services"
    static.faq 'faq', :action => "faq"
    static.locations 'locations', :action => "locations"
  end
end